package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;


public interface SetmealDao {
    public Page<Setmeal> query(String queryString);

    void delById(Integer id);

    void deleteAssociation(Integer id);

    void add(Setmeal setmeal);

    void setCheckGroupAndSetmeal(Map<String, Integer> mp);

    void edit(Setmeal setmeal);

    public Setmeal findById(Integer id);

    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);

    public List<Setmeal> findAll();

    List<Map<String,Object>> findSetmealCount();
}
